package com.base.logistics.jdl.bean.trace;

import java.io.Serializable;

/**
 * <pre>
 * 物流轨迹（商家用）对象
 * </pre>
 * @since 2021-02-19
 */
public class TraceDTO   implements Serializable {

    /**
     * 操作简要描述
     */
    private String opeTitle;

    /**
     * 操作详情
     */
    private String opeRemark;

    /**
     * 操作人姓名
     */
    private String opeName;

    /**
     * 操作时间
     */
    private String opeTime;

    /**
     * 运单号
     */
    private String waybillCode;

    /**
     * 配送员姓名
     */
    private String courier;

    /**
     * 配送员电话
     */
    private String courierTel;

    public TraceDTO() {
    }

    public String getOpeTitle() {
        return this.opeTitle;
    }

    public String getOpeRemark() {
        return this.opeRemark;
    }

    public String getOpeName() {
        return this.opeName;
    }

    public String getOpeTime() {
        return this.opeTime;
    }

    public String getWaybillCode() {
        return this.waybillCode;
    }

    public String getCourier() {
        return this.courier;
    }

    public String getCourierTel() {
        return this.courierTel;
    }

    public void setOpeTitle(String opeTitle) {
        this.opeTitle = opeTitle;
    }

    public void setOpeRemark(String opeRemark) {
        this.opeRemark = opeRemark;
    }

    public void setOpeName(String opeName) {
        this.opeName = opeName;
    }

    public void setOpeTime(String opeTime) {
        this.opeTime = opeTime;
    }

    public void setWaybillCode(String waybillCode) {
        this.waybillCode = waybillCode;
    }

    public void setCourier(String courier) {
        this.courier = courier;
    }

    public void setCourierTel(String courierTel) {
        this.courierTel = courierTel;
    }

    public boolean equals(final Object o) {
        if (o == this) return true;
        if (!(o instanceof TraceDTO)) return false;
        final TraceDTO other = (TraceDTO) o;
        if (!other.canEqual((Object) this)) return false;
        final Object this$opeTitle = this.getOpeTitle();
        final Object other$opeTitle = other.getOpeTitle();
        if (this$opeTitle == null ? other$opeTitle != null : !this$opeTitle.equals(other$opeTitle)) return false;
        final Object this$opeRemark = this.getOpeRemark();
        final Object other$opeRemark = other.getOpeRemark();
        if (this$opeRemark == null ? other$opeRemark != null : !this$opeRemark.equals(other$opeRemark)) return false;
        final Object this$opeName = this.getOpeName();
        final Object other$opeName = other.getOpeName();
        if (this$opeName == null ? other$opeName != null : !this$opeName.equals(other$opeName)) return false;
        final Object this$opeTime = this.getOpeTime();
        final Object other$opeTime = other.getOpeTime();
        if (this$opeTime == null ? other$opeTime != null : !this$opeTime.equals(other$opeTime)) return false;
        final Object this$waybillCode = this.getWaybillCode();
        final Object other$waybillCode = other.getWaybillCode();
        if (this$waybillCode == null ? other$waybillCode != null : !this$waybillCode.equals(other$waybillCode))
            return false;
        final Object this$courier = this.getCourier();
        final Object other$courier = other.getCourier();
        if (this$courier == null ? other$courier != null : !this$courier.equals(other$courier)) return false;
        final Object this$courierTel = this.getCourierTel();
        final Object other$courierTel = other.getCourierTel();
        if (this$courierTel == null ? other$courierTel != null : !this$courierTel.equals(other$courierTel))
            return false;
        return true;
    }

    protected boolean canEqual(final Object other) {
        return other instanceof TraceDTO;
    }

    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $opeTitle = this.getOpeTitle();
        result = result * PRIME + ($opeTitle == null ? 43 : $opeTitle.hashCode());
        final Object $opeRemark = this.getOpeRemark();
        result = result * PRIME + ($opeRemark == null ? 43 : $opeRemark.hashCode());
        final Object $opeName = this.getOpeName();
        result = result * PRIME + ($opeName == null ? 43 : $opeName.hashCode());
        final Object $opeTime = this.getOpeTime();
        result = result * PRIME + ($opeTime == null ? 43 : $opeTime.hashCode());
        final Object $waybillCode = this.getWaybillCode();
        result = result * PRIME + ($waybillCode == null ? 43 : $waybillCode.hashCode());
        final Object $courier = this.getCourier();
        result = result * PRIME + ($courier == null ? 43 : $courier.hashCode());
        final Object $courierTel = this.getCourierTel();
        result = result * PRIME + ($courierTel == null ? 43 : $courierTel.hashCode());
        return result;
    }

    public String toString() {
        return "TraceDTO(opeTitle=" + this.getOpeTitle() + ", opeRemark=" + this.getOpeRemark() + ", opeName=" + this.getOpeName() + ", opeTime=" + this.getOpeTime() + ", waybillCode=" + this.getWaybillCode() + ", courier=" + this.getCourier() + ", courierTel=" + this.getCourierTel() + ")";
    }
}
